﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using STLGROUP.Layers.Base;
using STLGROUP.Layers.DataAccessLayers;

namespace STLGROUP.Layers
{
    /// <summary>
    /// Phan quyen nhom nguoi dung BLL
    /// </summary>
    /// <author>viet sang</author>
    /// <date>03/03/2012</date>
    public class ACLPhanQuyenNhomBLL:BaseBLL
    {
        /// <summary>
        /// Get phan quyen nhom nguoi dung.
        /// </summary>
        /// <param name="pIDNhomNguoiDung"></param>
        /// <returns></returns>
        public IQueryable<ACL_PhanQuyenNhomNguoiDung> GetPhanQuyenNhomNC(int pIDNhomNguoiDung)
        {
            return this.Context.ACL_PhanQuyenNhomNguoiDung.Where(s => s.IDNhomNguoiDung == pIDNhomNguoiDung);
        }
    }
}
